package org.hqs.department.mapper;

import org.apache.ibatis.annotations.Select;
import org.hqs.department.pojo.Department;


import java.util.List;

public interface DepartmentMapper {

    List<Department> getAllDepartments();

    Department getDepartmentById(Long id);

    int insertDepartment(Department department);

    int updateDepartment(Department department);

    int deleteDepartment(Long id);
}
